<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<script type="text/javascript" src="/plugins/fckeditor/fckeditor.js"></script>
<title>欢迎莅临 z.En的blog</title></head>
<body>
<a href="/blog.php?do=logout">退出</a>
<hr />
<form action="/blog.php?do=admin_do" method="POST">
修改文章:<br />
输入要修改的文章ID:<input type="text" name="tid" />
<input type="submit" value="go" />

</form>


<hr />
<form action="/blog.php?do=edit_qm" method="POST">
修改签名:<br />
签名:<input type="text" name="qm" value="<?php echo $__ITEMS['qm'] ?>" />
<input type="submit" value="go" />

</form>

<hr />

新文件:<br />
<form action="/blog.php?do=new_blog_topic" method="POST">
<input type="submit" value="保存" style="width:100px;height:50px;" />
<br />
<br />
<input type="text" name="title" size="100" />
&nbsp;&nbsp;&nbsp;&nbsp;tag:<input type="text" name="tag[]" size="10" />
&nbsp;&nbsp;<input type="text" name="tag[]" size="10" />
&nbsp;&nbsp;<input type="text" name="tag[]" size="10" />
&nbsp;&nbsp;<input type="text" name="tag[]" size="10" />
&nbsp;&nbsp;<input type="text" name="tag[]" size="10" />
<br />
<br />
<script type="text/javascript">
var oFCKeditor = new FCKeditor('body');
oFCKeditor.BasePath = "/plugins/fckeditor/";
oFCKeditor.Width = '100%';
oFCKeditor.Height = '1000px';
oFCKeditor.Create();
</script>

</form>

<br />
<br />
<hr />

我的资料:<br />
<form action="/blog.php?do=update_my_info" method="POST">
<input type="submit" value="保存" style="width:100px;height:50px;" />
<br />
<br />

<script type="text/javascript">

var fck_value = "<?php echo addslashes(str_replace("\r",'',str_replace("\n",'',$__ITEMS['my_info']))) ?>";

var oFCKeditor = new FCKeditor('my_info');
oFCKeditor.BasePath = "/plugins/fckeditor/";
oFCKeditor.Width = '100%';
oFCKeditor.Height = '1000px';
oFCKeditor.Value = fck_value;
oFCKeditor.Create();

</script>

</form>

</body>
</html>
